﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Freetour.UI.Models.Membership.Account
{
    public sealed class RegisterModel
    {
        [Required(ErrorMessage = "会员名不能为空")]
        [DisplayName("会员名")]
        public string UserID { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        [DisplayName("密码")]
        public string Password { get; set; }

        [Required(ErrorMessage = "必须确认密码")]
        [DisplayName("确认密码")]
        public string RePassword { get; set; }
    }
}